package hc.bre

import hc.bre.rest.admin.BrePermission

@groovy.transform.CompileStatic
public class FunctionConfig {
	String url
	String title
	BrePermission perm

	static List<FunctionConfig> list = [];
	static {
		list.add(new FunctionConfig(
				url:'/admin/role.htm',
				title:'权限管理',
				perm:BrePermission.authAdmin,
				));

		list.add(new FunctionConfig(
				url:'/admin/user.htm',
				title:'用戶管理',
				perm:BrePermission.authAdmin,
				));

		list.add(new FunctionConfig(
				url:'/admin/appsetting.htm',
				title:'系统设置',
				perm:BrePermission.authAdmin,
				));
	}
}
